{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <form role="form" id="js_settingForm" action="/admin/setting" method="post">
                    <div class="form-group">
                        <label>首页标题（title）</label>
                        <input class="form-control" name="settingnew[seotitle]" value="{{$setting['seotitle']}}" placeholder="留空则采用网站关键词+网站名称的构成方式" datatype="*2-250" nullmsg="请输入！">
                    </div>
                    <div class="form-group">
                        <label>内页标题（title）</label>
                        <div class="checkbox">
                            <label><input type="radio" name="settingnew[seotitletype]" value="0" {{if $setting["seotitletype"] eq '0'}}checked{{/if}}  />内容标题</label>
                        </div>
                        <div class="checkbox">
                            <label><input type="radio" name="settingnew[seotitletype]" value="1"  {{if $setting["seotitletype"] eq '1'}}checked{{/if}} />内容标题+网站关键词</label>
                        </div>
                        <div class="checkbox">
                            <label><input type="radio" name="settingnew[seotitletype]" value="2" {{if $setting["seotitletype"] eq '2'}}checked{{/if}} />内容标题+网站名称</label>
                        </div>
                        <div class="checkbox">
                            <label><input type="radio" name="settingnew[seotitletype]" value="3" {{if $setting["seotitletype"] eq '3'}}checked{{/if}} />内容标题+网站关键词+网站名称</label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>网站关键词</label>
                        <input class="form-control" name="settingnew[keywords]" value="{{$setting['keywords']}}" placeholder="" >
                    </div>
                    <input type='submit' name='dosubmit' class='btn btn-primary js_submit' value='提交' />
                </form>
            </div>
        </div>
    </div>
</body>
</html>